<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 300px;
            height: 300px;
            background-color: black;
            /* transition: all 2s; */
            animation: giao 10s;
        }
        @keyframes giao {
                0% {
                    
                    
                }
                25% {
                    transform: translate(700px, 0) scale(0.5) rotate(100deg);
                    
                }
                50% {
                    transform: translate(700px, 400px) scale(0.5) rotate(1000deg);
                    
                }
                75% {
                    transform: translate(0, 400px) scale(0.5) rotate(10000deg);
                    
                }
                100% {
                    transform: translate(0,0) scale(0.5) rotate(100000deg);
                }

            }
    </style>
</head>
<body>
    <div></div>
</body>
</html>